﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class readcenter : System.Web.UI.UserControl
{
    public string smallmenu,snotice;
	protected void Page_Load(object sender, EventArgs e)
    {
        Socut.Reader drn = new Socut.Reader("select * from web_notice_smallclass where bigclassid=5 order by smallclassorder");
            while (drn.Read())
            {
				smallmenu += "<tr height=22><td align='left' style='padding-left:70px;'>";
				smallmenu += "<img src='images/blacktwo-r.gif' align='absmiddle'>&nbsp;<a href='read.aspx?smallclassid=" + drn["id"].ToString() + "'>" + drn["smallclassname"].ToString() + "</a>";
				smallmenu += "</td></tr>";
            }
            drn.Close();  

   }
}
